Update Business Status Document
PATCH /api/v1/businesses/{businessId}/public/{status}/doc
Description
Update the status of a business document.
Path Parameters
| Name | Type | Description |
|---|---|---|
businessId | string | The ID of the business (path) |
status | string | The status to be updated (path) |
Available values: APPROVE, DISAPPROVE, PENDING |
Query Parameters
| Name | Type | Description |
|---|---|---|
comment | string | An optional comment (query) |
Example
PATCH /api/v1/businesses/{businessId}/public/{status}/doc?comment=Optional%20comment
Content-Type: application/json
{
"businessId": "12345",
"status": "APPROVE"
}
Response Code: 200 - OK
Description
Status updated successfully.
Headers
| Content-Type | Value |
|---|---|
| apiKey | {{apiKey}} |
Body
{
"businessId": "12345",
"status": "APPROVE"
}
🔑 Authentication bearer
| Param | Value | Type |
|---|---|---|
| token | {{accessCode}} | string |
LANGUAGE
CURL REQUEST
curl --request PATCH \
--url /api/v1/businesses/{businessId}/public/{status}/doc \
--header 'accept: application/json' \
--header 'content-type: application/json'
RESPONSE
Click Try It! to start a request and see the response here!